package cn.iocoder.yudao.module.pplan.controller.admin.serviceequipment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 生产计划-服务用具管理新增/修改 Request VO")
@Data
public class ServiceEquipmentSaveReqVO {

    @Schema(description = "服务用具唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "8097")
    private Long id;

    @Schema(description = "关联航班号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "关联航班号不能为空")
    private String flightNo;

    @Schema(description = "七分烤炉数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "七分烤炉数量不能为空")
    private Integer sevenOvenQty;

    @Schema(description = "八分烤炉数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "八分烤炉数量不能为空")
    private Integer eightOvenQty;

    @Schema(description = "加长烤炉数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "加长烤炉数量不能为空")
    private Integer extendedOvenQty;

    @Schema(description = "餐车数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "餐车数量不能为空")
    private Integer mealCartQty;

    @Schema(description = "备注")
    private String remarks;

}